#!/usr/bin/env python
# -*- coding:utf-8 -*-
from django import forms


class LoginForm(forms.Form):
    username = forms.CharField()
    password = forms.CharField(widget=forms.PasswordInput())

class RegForm(forms.Form):
    username = forms.CharField()
    password = forms.CharField(widget=forms.PasswordInput())
    email = forms.EmailField(required=False,widget=forms.TextInput(attrs={'class': "", 'placeholder': 'user@domain.com'}))
    date = forms.CharField(required=False,widget=forms.TextInput(attrs={'class': "datepicker", 'placeholder': '月/日/年','data-ideal':"date"}))
    file = forms.FileField(required=False,)
    website = forms.CharField(required=False,widget=forms.TextInput(attrs={'data-ideal':"url", 'placeholder': 'domain.com'}))